package com.iotimc.attendancesystem.datautil;

import java.io.Serializable;

public class User_Info implements Serializable {

    public static final String ID = "id";
    public static final String COMPANY = "company";
    public static final String USERNO = "userNo";
    public static final String ISONJOB = "isOnJob";
    public static final String UPDATETIME = "updateTime";
    public static final String PERMISSION = "userPermission";

    private int id;
    private String company;
    private String userNo; //工号
    private int  isOnJob;
    private String updateTime;
    private int userPermission;
    
    public void setUserInfo(int id, String company, String userNo, int isOnJob, byte[] colorPhoto, int length,  String updateTime, int userPermission)
    {
    	this.id = id;
    	this.userNo = userNo;
    	this.company = company;
    	this.userNo = userNo;
    	this.isOnJob = isOnJob;
    	this.updateTime = updateTime;
    	this.userPermission = userPermission;
    }
    
    public  User_Info(int id, String company, String userNo, int isOnJob, String updateTime, int userPermission)
    {
    	this.id = id;
    	this.userNo = userNo;
    	this.company = company;
    	this.userNo = userNo;
    	this.isOnJob = isOnJob;
    	this.updateTime = updateTime;
    	this.userPermission = userPermission;
    }
    
    public int getId()
    {
    	return id;
    }
    
    public String getUserNo()
    {
    	return userNo;
    }
    
    public String getCompany()
    {
    	return company;
    }
    
    public int getIsOnJob()
    {
    	return isOnJob;
    }
    
    
    public int getUserPermission()
    {
    	return userPermission;
    }
   
    public String getUpdateTime()
    {
    	return updateTime;
    }
}
